package com.lening.community.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lening.common.base.BaseServiceImpl;
import com.lening.community.dto.StoreDto;
import com.lening.community.dto.UnitDto;
import com.lening.community.mapper.StoreMapper;
import com.lening.community.mapper.UnitMapper;
import com.lening.community.pojo.Store;
import com.lening.community.pojo.Unit;
import com.lening.community.service.StoreService;
import com.lening.community.service.UnitService;
import com.lening.community.vo.TableVo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ToDo:
 * @Author：潘万法
 * @date: 2024/6/3 17:05
 */
@Service
public class UnitServiceImpl extends BaseServiceImpl<UnitMapper, Unit, UnitDto>
implements UnitService {


    @Override
    public List<TableVo> getAllUnit() {
        return this.baseMapper.getAllUnit();
    }
}
